<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title><?php echo isset($pageTitle) ? $pageTitle : $siteName; ?></title>
    <meta name="name" content="<?php echo htmlentities($siteName); ?>" />
    <meta name="description" content="<?php echo htmlentities($siteDescription); ?>" />

    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.2.2/build/fonts/fonts-min.css" />
    <?php Pants::style('pants.css'); ?>

    <?php if ($admin): ?>
      <?php Pants::style('admin.css'); ?>
    <?php endif; ?>

    <link rel="alternate" type="application/atom+xml" href="<?php echo $siteUrl; ?>/?type=atom" title="Articles (Atom and RSS)" />

    <?php if (isset($feedAtom)): ?>
      <link rel="alternate" type="application/atom+xml" href="<?php echo $feedAtom; ?>" title="This page (Atom)" />
    <?php endif; ?>

    <?php if (isset($feedRSS)): ?>
      <link rel="alternate" type="application/rss+xml" href="<?php echo $feedRSS; ?>" title="This page (RSS)" />
    <?php endif; ?>
  </head>
  <body>
    <div id="page">
      <div id="header">
        <h1><a href="<?php echo $siteUrl; ?>"><?php echo htmlentities($siteName); ?></a></h1>

        <div id="toolbar">
          <h2><?php echo htmlentities($siteDescription); ?></h2>
          
          <ul class="robots-nocontent">
            <li><a href="<?php echo $siteUrl; ?>">Home</a></li>
            <li><a href="<?php echo $siteUrl; ?>/archive">Archive</a></li>
            <li><a id="link-recent-comments" href="<?php echo $siteUrl; ?>/recent-comments">Comments</a></li>
          </ul>
        </div>
        
        <?php Pants::partial('admin/toolbar'); ?>
      </div>

      <?php Pants::partial('includes/sidebar'); ?>

      <div id="content">
